package com.liu.project.dao;


import com.liu.project.pojo.Log;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LogMapper {

    int addLog(Log log);

    int deleteLog(int id);

    List<Log> getLogs(int userId);
}
